package com.mauroleon.promotail.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Service;

import com.mauroleon.base.service.impl.JpaBaseServiceImpl;
import com.mauroleon.promotail.domain.Categoria;
import com.mauroleon.promotail.jpa.dao.CategoriaDAO;
import com.mauroleon.promotail.service.CategoriaService;

@Service
public class CategoriaServiceImpl extends JpaBaseServiceImpl<Categoria, Integer>
		implements CategoriaService {

	@Autowired
	private CategoriaDAO categoriaDAO;

	@Override
	protected JpaRepository<Categoria, Integer> getBaseDAO() {
		return categoriaDAO;
	}

}
